//
//  MCTrainNotifitVc.swift
//  MCBodyBuildingPro
//
//  Created by Renlvshijie on 2023/6/6.
//

import UIKit
import JKSwiftExtension


class MCTrainNotifitVc: MCBaseVc {
    
    public var userId:String = ""
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        self.view.backgroundColor = UIColor.qmui_color(withHexString: "#F7F7F9")
        self.navigationItem.title = "训练须知"
    }

    //不再提示
    @IBAction func promptAgainSender(_ sender: UIButton) {
        UserDefaults.standard.setValue(true, forKey: "promptAgainInfo")
        let videoTrainNotfitVc = MCVIdeoTranNofitVc.init()
        videoTrainNotfitVc.ids = self.userId
        self.navigationController?.pushViewController(videoTrainNotfitVc, animated: true)
    }
    
    //开始训练
    @IBAction func startTrainSender(_ sender: UIButton) {
        let videoTrainNotfitVc = MCVIdeoTranNofitVc.init()
        videoTrainNotfitVc.ids = self.userId
        self.navigationController?.pushViewController(videoTrainNotfitVc, animated: true)
    }
}
